package com.itheima.mapper;

import com.itheima.entity.ProjectReviewProgress;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * 项目审核进度Mapper接口
 * 
 * @author guanhuaer
 * @date 2025-03-18
 */
@Mapper
public interface ProjectReviewProgressMapper 
{
    /**
     * 查询项目审核进度
     * 
     * @param id 项目审核进度主键
     * @return 项目审核进度
     */
    public ProjectReviewProgress selectProjectReviewProgressById(Long id);

    /**
     * 查询项目审核进度列表
     * 
     * @param projectReviewProgress 项目审核进度
     * @return 项目审核进度集合
     */
    public List<ProjectReviewProgress> selectProjectReviewProgressList(ProjectReviewProgress projectReviewProgress);

    /**
     * 新增项目审核进度
     * 
     * @param projectReviewProgress 项目审核进度
     * @return 结果
     */
    public int insertProjectReviewProgress(ProjectReviewProgress projectReviewProgress);

    /**
     * 修改项目审核进度
     * 
     * @param projectReviewProgress 项目审核进度
     * @return 结果
     */
    public int updateProjectReviewProgress(ProjectReviewProgress projectReviewProgress);

    /**
     * 删除项目审核进度
     * 
     * @param id 项目审核进度主键
     * @return 结果
     */
    public int deleteProjectReviewProgressById(Long id);

    /**
     * 批量删除项目审核进度
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteProjectReviewProgressByIds(Long[] ids);

    List<ProjectReviewProgress> selectProgressList(Long projectId);
}
